package com.auxiliary;

import java.util.List;

public class CorrelationLine extends Line {
	

	private int eigenOrder;
	private double eigenValue;
	
	public CorrelationLine() {
		super();

		this.setType("line");
	}

	public CorrelationLine(int eigenOrder, double eigenValue, List<Double> coefficientList) {
		super();

		this.eigenOrder = eigenOrder;
		this.eigenValue = eigenValue;
		this.setData(coefficientList);

		this.setType("line");
	}

	public int getEigenOrder() {
		return eigenOrder;
	}

	public void setEigenOrder(int eigenOrder) {
		this.eigenOrder = eigenOrder;
	}

	public double getEigenValue() {
		return eigenValue;
	}

	public void setEigenValue(double eigenValue) {
		this.eigenValue = eigenValue;
	}
	
	public String toString() {
		return "阶数： " + this.eigenOrder + ", 统计量： " + this.eigenValue;
	}
}
